
CFLAGS=`sed -e "/POTION_CFLAGS/b" -e d core/config.h | sed 's/.* POTION_CFLAGS//; s/"//g'`

make core/config.h

tcc ${CFLAGS} -Itools -run ./tcc-greg.c core/syntax.g > core/syntax.c

tcc ${CFLAGS} -fno-omit-frame-pointer -Icore -I3rd -run ./tcc-run.c

